package com.gxl.ServiceImpl;

import java.util.List;

import com.gxl.Dao.ContentDao;
import com.gxl.Entity.Content;
import com.gxl.Service.ContentService;

public class ContentServiceImpl implements ContentService {

	
	private ContentDao contentDao;

	public ContentDao getContentDao() {
		return contentDao;
	}

	public void setContentDao(ContentDao contentDao) {
		this.contentDao = contentDao;
	}

	@Override
	public String InsertContent(Content content) {
		
		return contentDao.InsertContent(content);
	}
	
	public List<Content> FindContent()
	{
		return contentDao.FindContent();
	}
	
	public List<Content> FindContent(String Group)
	{
		return contentDao.FindContent(Group);
	}
<<<<<<< HEAD
	public void ChangeGroup(int hid,String change,String CTitle,String CContent,String CAuthor)
	{
		contentDao.ChangeGroup(hid,change,CTitle,CContent,CAuthor);
=======
	public void ChangeGroup(int hid,String change)
	{
		contentDao.ChangeGroup(hid,change);
>>>>>>> bcf2400f1f37cc9af755d42c2557f9ec702656e8
	}
}
